package gpx;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;

public class Options extends JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	TextArea ta;
	Button clButton;
	
	public Options() {
		this.setLayout(new BorderLayout(10,10));
		this.setTitle("BTC - options");
		this.clButton = new Button("Close");
		clButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				closeOptions();
				
			}
		});
		this.add(clButton);
		this.pack();
		this.setVisible(true);
	}

	protected void closeOptions() {
		this.dispose();
	}
}
